import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

// import mitt from 'mitt'
// const bus = mitt()
// const app = createApp(App)
// app.config.globalProperties.$bus = bus
// 相当于Vue2中的:Vue.prototype.$bus = bus

// Vue.prototype.$bus = new Vue()

createApp(App).use(store).use(ElementPlus).use(router).mount('#app')
